package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="YSZB_DR"
 *     
*/
public class YszbDr implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** identifier field */
    private String drbh;
    private String nd;
    private String drlx;
    private String sfgzxm;
    private String drbs;
    private String cfztbh;
    private String dwmc;
    private String dwbh;
    private String ysm;
    private String kmbm;
    private String kmmc;
    private String xmbm;
    private String xmmc;
    private String tjbh;
    private String tjmc;
    
    private BigDecimal ysje;
    private BigDecimal hwje;
    private BigDecimal gcje;
    private BigDecimal fwje;
    
    private String czr;
    private String czsj;
    private String sx;
    private String zt1;
    private String zt2;
    private String zt3;
    private String zt4;


    /** full constructor */
    public YszbDr(String zt1, String zt2,String zt3, String zt4) {
    
    }

    /** default constructor */
    public YszbDr() {
    }

    /** minimal constructor */
    public YszbDr(String cfmxbh, String nd, String yszbbh, BigDecimal ysje, String cfztbh, String dwbh) {
    	
    }

	public String getDrbh() {
		return drbh;
	}

	public void setDrbh(String drbh) {
		this.drbh = drbh;
	}

	public String getNd() {
		return nd;
	}

	public void setNd(String nd) {
		this.nd = nd;
	}

	public String getDrlx() {
		return drlx;
	}

	public void setDrlx(String drlx) {
		this.drlx = drlx;
	}

	public String getSfgzxm() {
		return sfgzxm;
	}

	public void setSfgzxm(String sfgzxm) {
		this.sfgzxm = sfgzxm;
	}

	public String getDrbs() {
		return drbs;
	}

	public void setDrbs(String drbs) {
		this.drbs = drbs;
	}

	public String getCfztbh() {
		return cfztbh;
	}

	public void setCfztbh(String cfztbh) {
		this.cfztbh = cfztbh;
	}

	public String getDwmc() {
		return dwmc;
	}

	public void setDwmc(String dwmc) {
		this.dwmc = dwmc;
	}

	public String getYsm() {
		return ysm;
	}

	public void setYsm(String ysm) {
		this.ysm = ysm;
	}

	public String getKmbm() {
		return kmbm;
	}

	public void setKmbm(String kmbm) {
		this.kmbm = kmbm;
	}

	public String getKmmc() {
		return kmmc;
	}

	public void setKmmc(String kmmc) {
		this.kmmc = kmmc;
	}

	public String getXmbm() {
		return xmbm;
	}

	public void setXmbm(String xmbm) {
		this.xmbm = xmbm;
	}

	public String getXmmc() {
		return xmmc;
	}

	public void setXmmc(String xmmc) {
		this.xmmc = xmmc;
	}

	public String getTjbh() {
		return tjbh;
	}

	public void setTjbh(String tjbh) {
		this.tjbh = tjbh;
	}

	public String getTjmc() {
		return tjmc;
	}

	public void setTjmc(String tjmc) {
		this.tjmc = tjmc;
	}

	public BigDecimal getYsje() {
		return ysje;
	}

	public void setYsje(BigDecimal ysje) {
		this.ysje = ysje;
	}

	public BigDecimal getHwje() {
		return hwje;
	}

	public void setHwje(BigDecimal hwje) {
		this.hwje = hwje;
	}

	public BigDecimal getGcje() {
		return gcje;
	}

	public void setGcje(BigDecimal gcje) {
		this.gcje = gcje;
	}

	public BigDecimal getFwje() {
		return fwje;
	}

	public void setFwje(BigDecimal fwje) {
		this.fwje = fwje;
	}

	public String getCzr() {
		return czr;
	}

	public void setCzr(String czr) {
		this.czr = czr;
	}

	public String getCzsj() {
		return czsj;
	}

	public void setCzsj(String czsj) {
		this.czsj = czsj;
	}

	public String getSx() {
		return sx;
	}

	public void setSx(String sx) {
		this.sx = sx;
	}

	public String getZt1() {
		return zt1;
	}

	public void setZt1(String zt1) {
		this.zt1 = zt1;
	}

	public String getZt2() {
		return zt2;
	}

	public void setZt2(String zt2) {
		this.zt2 = zt2;
	}

	public String getZt3() {
		return zt3;
	}

	public void setZt3(String zt3) {
		this.zt3 = zt3;
	}

	public String getZt4() {
		return zt4;
	}

	public void setZt4(String zt4) {
		this.zt4 = zt4;
	}
	
	public String toString() {
        return new ToStringBuilder(this)
            .append("drbh", getDrbh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof YszbDr) ) return false;
        YszbDr castOther = (YszbDr) other;
        return new EqualsBuilder()
            .append(this.getDrbh(), castOther.getDrbh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getDrbh())
            .toHashCode(); 
    }

	public String getDwbh() {
		return dwbh;
	}

	public void setDwbh(String dwbh) {
		this.dwbh = dwbh;
	}

}
